﻿@model XoohooViewModel
@{
    // 获取当前用户信息
    UserViewModel user = Model.User;
    string signOut = Html.RouteLink("〖退出登录〗", "Admin.SignOut").ToString();
    string userInfo = user != null ? String.Format("当前用户：{0}&nbsp;({1})&nbsp;&nbsp;所属用户组：{2}&nbsp;&nbsp;{3}", user.DisplayName, user.Name, user.UserGroup.UserGroupName, signOut) : String.Empty;
    WriteLiteral(userInfo);
}
